package com.atguigu.guli.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author wanghao
 * @description
 * @create 2025-03-12 10:30
 */
@FeignClient("guli-stock-nacos")
public interface GuliStockNacosClient {
    @GetMapping("/stock/{productId}/{count}")
    public Boolean updateStock(@PathVariable("productId")String productId ,
                               @PathVariable("count") Integer count);

}
